﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.OleDb;
using ConnetData;
using DAL;
using DAL;

namespace DAL
{
    public class KhachHangDAL:ConnetDataBasse
    {
        public DataSet DanhSachKhachHang()
        {
            DataSet ds = new DataSet();
            string str_Query = "SELECT * FORM KhachHang";
            OleDbDataAdapter da = new OleDbDataAdapter(str_Query, _conn);
            OleDbCommandBuilder cb = new OleDbCommandBuilder(da);
            da.Fill(ds, "KhachHang");
            return ds;
        }
    }
}
